package com.example.demo.mapper;

import com.example.demo.entity.MusicDaily;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MusicDailyMapper {

    @Select("SELECT * FROM music_daily_tb WHERE user_id = #{userId}")
    List<MusicDaily> selectDailyPlaybackByUserId(@Param("userId") int userId);
}
